#!/bin/bash

#拷贝代码目录的proguard文件到当前目录
rm -rf ./proguard_riskstubshell.pro
cp ../../2source/safe_mon/loader/proguard-project.txt ./proguard_riskstubshell.pro
echo "copy proguard file"


java -jar /opt/sdk/tools/proguard/lib/proguard.jar @proguard_riskstubshell.pro
echo "proguard"


cp ./RiskStubShell.jar ../../2source/everisk/bin/shell/
echo "copy RiskStubShell.jar to everisk/bin/shell/"

cp ./RiskStubShell.jar ../../2source/everisk/tools/inject_shell/lib/
echo "copy RiskStubShell.jar to inject_shell/lib/"

